package app.caihan.wanandroid.base

import app.caihan.scframe.base.activity.BaseVmDbActivity
import app.caihan.scframe.base.viewmodel.BaseViewModel
import app.caihan.scframe.ktx.getAppViewModel
import app.caihan.wanandroid.base.event.AppViewModel


abstract class WanBaseActivity<VM : BaseViewModel>:BaseVmDbActivity<VM>() {
    //Application全局的ViewModel，里面存放了一些账户信息，基本配置信息等
    private val appViewModel: AppViewModel by lazy { getAppViewModel<AppViewModel>() }

}